<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Roomdataapi extends Model
{
    protected $table = 'roomdata';
    public $timestamps = false;
    protected $guarded = [
        'name', 'money', 'weixin', 'ishavehouse', 'apply_time', 'updated_at', 'deleted_at'
    ];

    public  function getData(){
        $data=\DB::table($this->table)->get();

        return $data;
    }




}